export interface Algorithm {
  name: string;
  task: TaskType;
  training_config: string[];
  validation_config: string[];
  weights: string[];
}

export type TaskType =
  | "preprocessing"
  | "classification"
  | "detection"
  | "tracking"
  | "search";

export type ModalType = "RGB" | "IR" | "SAR";

export interface ImageData {
  image_name: string;
  image_path: string;
  modality: "SAR" | "IR" | "RGB";
}

export interface ImageItem extends ImageData {
  id: string;
  blobUrl?: string;
  error?: boolean;
  loading?: boolean;
}

export interface ModelMenuItem {
  task: TaskType;
  label: string;
  models: string[];
}
